import React from 'react';

import { IconProps, RootPath, RootSvg } from './utils/base';

export const CSV = (props: IconProps) => (
  <RootSvg
    height={props.height || 40}
    viewBox={props.viewBox || '0 0 34 40'}
    width={props.width || 34}
    {...props}
  >
    <RootPath
      d='M0 3a3 3 0 013-3h20.333l10 10v27a3 3 0 01-3 3H3a3 3 0 01-3-3V3z'
      pathFill='#F5F5F5'
    />
    <RootPath d='M0 28h33.333v9a3 3 0 01-3 3H3a3 3 0 01-3-3v-9z' pathFill='#A8A8A8' />
    <RootPath
      d='M25.864 9.99a2.48 2.48 0 01-2.48-2.48V.058L33.33 9.99h-7.466z'
      pathFill='#DBDBDB'
    />
    <RootPath
      d='M14.462 34.491h.776a1.038 1.038 0 00-.44-.82 1.25 1.25 0 00-.425-.207 1.777 1.777 0 00-.491-.067c-.235 0-.443.04-.625.117a1.3 1.3 0 00-.463.33 1.4 1.4 0 00-.29.496c-.064.19-.095.396-.095.62 0 .215.035.414.106.597.07.178.169.333.295.463.127.13.28.232.458.307.182.07.381.106.597.106.383 0 .697-.1.943-.301.245-.201.394-.493.446-.877h-.764a.756.756 0 01-.195.43c-.1.104-.246.156-.436.156a.56.56 0 01-.312-.083.66.66 0 01-.207-.212 1.075 1.075 0 01-.106-.296 1.569 1.569 0 010-.642.974.974 0 01.112-.301.678.678 0 01.212-.223.543.543 0 01.318-.09c.339 0 .534.166.586.497zm1.854.932h-.753c.007.193.05.355.128.485.082.127.184.23.307.307.126.078.27.134.43.168a2.39 2.39 0 00.97 0c.16-.03.302-.084.424-.162a.898.898 0 00.296-.307.918.918 0 00.117-.48.656.656 0 00-.284-.564 1.056 1.056 0 00-.296-.15 3.181 3.181 0 00-.335-.095c-.111-.026-.221-.05-.329-.073a3.271 3.271 0 01-.29-.072.64.64 0 01-.201-.112.217.217 0 01-.078-.173c0-.06.015-.106.044-.14a.286.286 0 01.107-.083.459.459 0 01.145-.033c.052-.008.1-.012.145-.012.141 0 .264.028.368.084.104.052.162.154.173.307h.753a.91.91 0 00-.424-.725 1.2 1.2 0 00-.396-.151 2.324 2.324 0 00-.91 0 1.177 1.177 0 00-.401.145.802.802 0 00-.29.279.886.886 0 00-.107.458c0 .126.027.234.079.323.052.086.12.158.206.218.086.056.182.102.29.14a5.1 5.1 0 00.34.089c.283.06.503.119.659.178.16.06.24.149.24.268 0 .07-.017.13-.05.179a.417.417 0 01-.129.111.682.682 0 01-.34.078.94.94 0 01-.229-.028.627.627 0 01-.19-.083.54.54 0 01-.139-.15.472.472 0 01-.05-.224zm3.979.937l.976-2.885h-.786l-.608 1.97h-.012l-.608-1.97h-.831l.987 2.885h.882z'
      pathFill='#FFFFFF'
    />
    <RootPath
      d='M8 14.48h4.96V12H8v2.48zm4.96 4.133H8v-2.48h4.96v2.48zm0 4.134H8v-2.48h4.96v2.48zm11.573-4.134h-9.92v-2.48h9.92v2.48zm-9.92 4.134h9.92v-2.48h-9.92v2.48zm0-8.267V12h9.92v2.48h-9.92z'
      pathFill='#CFCFCF'
    />
  </RootSvg>
);
